#include <stdlib.h>
#include <stdio.h>
#include <string.h>

void test01() {
    printf("==========%d, %s==========\n", __LINE__, __FUNCTION__);
}
void test02() {
    printf("==========%d, %s==========\n", __LINE__, __FUNCTION__);
}

int main(int argc, char *argv[]) {
    printf("Hello, from helloworld!\n");
    for (int i = 0; i < argc; ++i) {
        printf("argv[%d]=%s\n", i, argv[i]);
    }
    if (strcmp(argv[1], "test01") == 0) {
        test01();
    } else if (strcmp(argv[1], "test02") == 0) {
        test02();
    }

    return 0;
}
